<p class="Paragraph"><help:paragraphinfo state="U" number="3" xmlns:help="http://openoffice.org/2000/help"/>The Instr function returns the position at which the match was found. If the string was not found, the function returns 0.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="5" xmlns:help="http://openoffice.org/2000/help"/>InStr ([Start As Integer,] Text1 As String, Text2 As String[, Compare])</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="9" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Start: </span>Any numeric expression that marks the position in a string at which to start searching for the specified substring. If this parameter is omitted, the search starts at the first character.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="10" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Text1:</span> The string expression that you want to search.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="11" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Text2:</span> The string expression that you want to search for.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="12" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Compare:</span> Optional numeric expression that defines the type of comparison. This parameter can be 0 or 1. The default value 0 specifies a binary comparison; 1 specifies a text comparison (not case-sensitive).</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="13" xmlns:help="http://openoffice.org/2000/help"/>To avoid a run-time error, do not set the Compare parameter if the first return parameter is omitted.</p>